using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Rendering;

public class XRenderPipline : RenderPipeline
{
    protected override void Render(ScriptableRenderContext context, Camera[] cameras)
    {
        foreach (var camera in cameras)
        {
            OnRender(context,camera);
        }
    }

    void OnRender(ScriptableRenderContext context, Camera camera)
    {
        switch (camera.cameraType)
        {
         case CameraType.Game:
             break;
         case CameraType.Preview:
             break;
         case CameraType.SceneView:
             break;
         case CameraType.Reflection:
             break;
        }
    }

}

public class XRenderPiplineAsset : RenderPipelineAsset
{
    protected override RenderPipeline CreatePipeline()
    {
        throw new System.NotImplementedException();
    }
}
